package cn.cs.fallback;

import cn.cs.client.ShoppingCarClient;
import cn.cs.pojo.CarProductList;
import cn.cs.pojo.ShoppingCart;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class ShoppingCarClientFallBack implements ShoppingCarClient {

    @Override
    public ShoppingCart getShopCartByMap(Map<String, Object> map) {
        return null;
    }

    @Override
    public int insertShoppingCart(ShoppingCart shopCar) {
        return 0;
    }

    @Override
    public int deleteOtherShopCar(Map<String, Object> param) {
        return 0;
    }

    @Override
    public Map<String, Object> getProCountOfCar(Map<String, Object> param) {
        return null;
    }

    @Override
    public int updateCarProductCount(Map<String, Object> param) {
        return 0;
    }

    @Override
    public int insertCarProductList(CarProductList pro) {
        return 0;
    }

    @Override
    public List<Map<String, Object>> getProshops(Map<String, Object> para) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getProsByMap(Map<String, Object> para) {
        return null;
    }

    @Override
    public List<CarProductList> getCarProductListListByMap(Map<String, Object> map) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getShopsByProIds(Map<String, Object> param) {
        return null;
    }

    @Override
    public int deleteCarProductListById(String id) {
        return 0;
    }

    @Override
    public int updateCarProductList(CarProductList pro) {
        return 0;
    }
}
